package com.example.baselibrary.db.dao;
import com.example.baselibrary.db.BTDBHelper;
import com.example.baselibrary.db.table.AvatarPendantTable;

import cc.vv.lklibrary.db.dao.DBBaseTableDao;
import cc.vv.lklibrary.db.help.DBBaseOpenHelper;

/**
 * 挂件表维护
 *
 * @author: NPF
 * @date: 2018/7/11.
 */
public class AvatarPendantDao extends DBBaseTableDao<AvatarPendantTable, String> {
    public AvatarPendantDao(DBBaseOpenHelper openHelper) {
        super(openHelper);
    }

    private static AvatarPendantDao mInstance;

    public static AvatarPendantDao getInstance() {
        if (null == mInstance) {
            synchronized (AvatarPendantDao.class) {
                if (null == mInstance) {
                    mInstance = new AvatarPendantDao(BTDBHelper.getInstance());
                }
            }
        }
        return mInstance;
    }
}
